From: Chong Yidong Date: Sat, 12 May 2007 23:35:31 +0000 (+0000) Subject: (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC). X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~18855^2~2281 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=1aa84454cad44695c527bc0d981108c384364412;p=emacs.git (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC). --- diff --git a/src/xterm.c b/src/xterm.c index 4f77e22ac59..9adb2b2c259 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -7065,6 +7065,7 @@ XTread_socket (sd, expected, hold_quit) #endif #ifndef USE_GTK + x_catch_errors (dpyinfo->display); while (XPending (dpyinfo->display)) { int finish; @@ -7083,6 +7084,7 @@ XTread_socket (sd, expected, hold_quit) if (finish == X_EVENT_GOTO_OUT) goto out; } + x_uncatch_errors (); #endif /* not USE_GTK */ }